#define _CRT_SECURE_NO_WARNINGS 

#include <stdio.h>

int main()
{
	int m, n;

	while (1)
	{
		scanf("%d", &m);
		n = 20 + ((m / 20) * -1);
		printf("%d\n", n);
	}
	return 0;
}

